package com.yxhl.zoume.data.http.rest.response.specialcar;

import com.google.gson.annotations.SerializedName;
import com.yxhl.zoume.data.http.model.specialcar.SpecialCarOrder;
import com.yxhl.zoume.data.http.model.specialcar.SpecialCarPollingLatLng;
import com.yxhl.zoume.data.http.rest.response.base.BaseResponse;

import java.util.List;

/**
 * Created by sugarya on 16/4/21.
 */
public class SpecialCarPollingResponse extends BaseResponse {

    @SerializedName("id")
    private String id;

    @SerializedName("driverJudgePoint")
    private float driverJudgePoint;

    /**
     * 出发点坐标
     */
    @SerializedName("lnglats")
    private List<SpecialCarPollingLatLng> lnglats;

    /**
     * 到达地坐标
     */
    @SerializedName("elnglats")
    private List<SpecialCarPollingLatLng> elnglats;

    @SerializedName("bizOrders")
    private List<SpecialCarOrder> orders;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public float getDriverJudgePoint() {
        return driverJudgePoint;
    }

    public void setDriverJudgePoint(float driverJudgePoint) {
        this.driverJudgePoint = driverJudgePoint;
    }

    public List<SpecialCarPollingLatLng> getLnglats() {
        return lnglats;
    }

    public void setLnglats(List<SpecialCarPollingLatLng> lnglats) {
        this.lnglats = lnglats;
    }

    public List<SpecialCarPollingLatLng> getElnglats() {
        return elnglats;
    }

    public void setElnglats(List<SpecialCarPollingLatLng> elnglats) {
        this.elnglats = elnglats;
    }

    public List<SpecialCarOrder> getOrders() {
        return orders;
    }

    public void setOrders(List<SpecialCarOrder> orders) {
        this.orders = orders;
    }

    @Override
    public String toString() {
        return "SpecialCarPollingResponse{" +
                "orders=" + orders +
                ", elnglats=" + elnglats +
                ", lnglats=" + lnglats +
                ", driverJudgePoint=" + driverJudgePoint +
                ", id='" + id + '\'' +
                '}';
    }
}
